MailPoet\Segments\WP A

Total Complexity 51
Dependencies 21
Dependents 8
Total lines 336
Lines of code 248
Logical lines of code 126
Comment lines 45
Methods 13
Properties 5

Methods 13

Method Rating Maintainability Complexity Lines of code
createOrUpdateSubscriber()
D
32 32 92
insertSubscribers()
S
49 4 34
synchronizeUser()
S
61 3 12
removeUpdatedSubscribersWithInvalidEmail()
S
60 2 13
deleteSubscriber()
S
71 2 6
updateSubscribersEmails()
S
59 1 15
synchronizeUsers()
S
60 1 14
updateFirstNames()
S
64 1 12
updateLastNames()
S
64 1 12
updateFirstNameIfMissing()
S
65 1 11
__construct()
S
69 1 7
insertUsersToSegment()
S
65 1 10
removeOrphanedSubscribers()
S
63 1 10